package com.qianfeng.dbsm.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianfeng.dbsm.admin.entity.TbMember;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 会员表(TbMember)表数据库访问层
 *
 * @author makejava
 * @since 2022-11-14 19:33:35
 */
@Mapper
public interface TbMemberDao extends BaseMapper<TbMember> {

    @Select("select member_bossId from tb_member_message where member_id = #{value}")
    public List<Integer> bossMembersById(Integer id);

}

